<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pAccountChargeRecord
 *
 * @ORM\Table(name="p2p_account_charge_record", indexes={@ORM\Index(name="ac_uid", columns={"ac_uid"}), @ORM\Index(name="b_id", columns={"b_id"}), @ORM\Index(name="ac_type", columns={"ac_type"}), @ORM\Index(name="ac_status", columns={"ac_status"}), @ORM\Index(name="ac_revexp", columns={"ac_revexp"}), @ORM\Index(name="t_id", columns={"t_id"}), @ORM\Index(name="ide_id", columns={"ide_id"}), @ORM\Index(name="ide_type", columns={"ide_type"}), @ORM\Index(name="rec_id", columns={"rec_id"}), @ORM\Index(name="ORID", columns={"ORID"}), @ORM\Index(name="w_id", columns={"w_id"}), @ORM\Index(name="ur_id", columns={"ur_id"}), @ORM\Index(name="ftid", columns={"ftid"}), @ORM\Index(name="sw_id", columns={"sw_id"}), @ORM\Index(name="ac_datetime", columns={"ac_datetime"}), @ORM\Index(name="ac_payorder", columns={"ac_payorder"})})
 * @ORM\Entity
 */
class P2pAccountChargeRecord
{
    /**
     * @var integer
     *
     * @ORM\Column(name="ac_uid", type="integer", nullable=false)
     */
    private $acUid;

    /**
     * @var string
     *
     * @ORM\Column(name="ac_payorder", type="string", length=50, nullable=false)
     */
    private $acPayorder;

    /**
     * @var integer
     *
     * @ORM\Column(name="ac_type", type="integer", nullable=false)
     */
    private $acType;

    /**
     * @var float
     *
     * @ORM\Column(name="ac_amount", type="float", precision=15, scale=2, nullable=false)
     */
    private $acAmount;

    /**
     * @var float
     *
     * @ORM\Column(name="ac_balance", type="float", precision=20, scale=2, nullable=false)
     */
    private $acBalance = '0.00';

    /**
     * @var string
     *
     * @ORM\Column(name="ac_title", type="string", length=60, nullable=false)
     */
    private $acTitle;

    /**
     * @var string
     *
     * @ORM\Column(name="ac_remark", type="string", length=250, nullable=true)
     */
    private $acRemark;

    /**
     * @var string
     *
     * @ORM\Column(name="ac_datetime", type="string", length=45, nullable=false)
     */
    private $acDatetime;

    /**
     * @var integer
     *
     * @ORM\Column(name="ac_status", type="integer", nullable=false)
     */
    private $acStatus = '0';

    /**
     * @var boolean
     *
     * @ORM\Column(name="ac_recharge_status", type="boolean", nullable=false)
     */
    private $acRechargeStatus = '1';

    /**
     * @var integer
     *
     * @ORM\Column(name="ac_revexp", type="integer", nullable=false)
     */
    private $acRevexp = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="ac_author", type="string", length=50, nullable=false)
     */
    private $acAuthor;

    /**
     * @var integer
     *
     * @ORM\Column(name="b_id", type="integer", nullable=false)
     */
    private $bId;

    /**
     * @var integer
     *
     * @ORM\Column(name="t_id", type="integer", nullable=false)
     */
    private $tId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="ide_id", type="integer", nullable=false)
     */
    private $ideId = '0';

    /**
     * @var boolean
     *
     * @ORM\Column(name="ide_type", type="boolean", nullable=false)
     */
    private $ideType = '7';

    /**
     * @var integer
     *
     * @ORM\Column(name="rec_id", type="integer", nullable=false)
     */
    private $recId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="ORID", type="integer", nullable=false)
     */
    private $orid = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="w_id", type="integer", nullable=false)
     */
    private $wId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="ur_id", type="integer", nullable=false)
     */
    private $urId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="ftid", type="integer", nullable=false)
     */
    private $ftid = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="sw_id", type="integer", nullable=false)
     */
    private $swId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="ac_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $acId;



    /**
     * Set acUid
     *
     * @param integer $acUid
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcUid($acUid)
    {
        $this->acUid = $acUid;

        return $this;
    }

    /**
     * Get acUid
     *
     * @return integer
     */
    public function getAcUid()
    {
        return $this->acUid;
    }

    /**
     * Set acPayorder
     *
     * @param string $acPayorder
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcPayorder($acPayorder)
    {
        $this->acPayorder = $acPayorder;

        return $this;
    }

    /**
     * Get acPayorder
     *
     * @return string
     */
    public function getAcPayorder()
    {
        return $this->acPayorder;
    }

    /**
     * Set acType
     *
     * @param integer $acType
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcType($acType)
    {
        $this->acType = $acType;

        return $this;
    }

    /**
     * Get acType
     *
     * @return integer
     */
    public function getAcType()
    {
        return $this->acType;
    }

    /**
     * Set acAmount
     *
     * @param float $acAmount
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcAmount($acAmount)
    {
        $this->acAmount = $acAmount;

        return $this;
    }

    /**
     * Get acAmount
     *
     * @return float
     */
    public function getAcAmount()
    {
        return $this->acAmount;
    }

    /**
     * Set acBalance
     *
     * @param float $acBalance
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcBalance($acBalance)
    {
        $this->acBalance = $acBalance;

        return $this;
    }

    /**
     * Get acBalance
     *
     * @return float
     */
    public function getAcBalance()
    {
        return $this->acBalance;
    }

    /**
     * Set acTitle
     *
     * @param string $acTitle
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcTitle($acTitle)
    {
        $this->acTitle = $acTitle;

        return $this;
    }

    /**
     * Get acTitle
     *
     * @return string
     */
    public function getAcTitle()
    {
        return $this->acTitle;
    }

    /**
     * Set acRemark
     *
     * @param string $acRemark
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcRemark($acRemark)
    {
        $this->acRemark = $acRemark;

        return $this;
    }

    /**
     * Get acRemark
     *
     * @return string
     */
    public function getAcRemark()
    {
        return $this->acRemark;
    }

    /**
     * Set acDatetime
     *
     * @param string $acDatetime
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcDatetime($acDatetime)
    {
        $this->acDatetime = $acDatetime;

        return $this;
    }

    /**
     * Get acDatetime
     *
     * @return string
     */
    public function getAcDatetime()
    {
        return $this->acDatetime;
    }

    /**
     * Set acStatus
     *
     * @param integer $acStatus
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcStatus($acStatus)
    {
        $this->acStatus = $acStatus;

        return $this;
    }

    /**
     * Get acStatus
     *
     * @return integer
     */
    public function getAcStatus()
    {
        return $this->acStatus;
    }

    /**
     * Set acRechargeStatus
     *
     * @param boolean $acRechargeStatus
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcRechargeStatus($acRechargeStatus)
    {
        $this->acRechargeStatus = $acRechargeStatus;

        return $this;
    }

    /**
     * Get acRechargeStatus
     *
     * @return boolean
     */
    public function getAcRechargeStatus()
    {
        return $this->acRechargeStatus;
    }

    /**
     * Set acRevexp
     *
     * @param integer $acRevexp
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcRevexp($acRevexp)
    {
        $this->acRevexp = $acRevexp;

        return $this;
    }

    /**
     * Get acRevexp
     *
     * @return integer
     */
    public function getAcRevexp()
    {
        return $this->acRevexp;
    }

    /**
     * Set acAuthor
     *
     * @param string $acAuthor
     *
     * @return P2pAccountChargeRecord
     */
    public function setAcAuthor($acAuthor)
    {
        $this->acAuthor = $acAuthor;

        return $this;
    }

    /**
     * Get acAuthor
     *
     * @return string
     */
    public function getAcAuthor()
    {
        return $this->acAuthor;
    }

    /**
     * Set bId
     *
     * @param integer $bId
     *
     * @return P2pAccountChargeRecord
     */
    public function setBId($bId)
    {
        $this->bId = $bId;

        return $this;
    }

    /**
     * Get bId
     *
     * @return integer
     */
    public function getBId()
    {
        return $this->bId;
    }

    /**
     * Set tId
     *
     * @param integer $tId
     *
     * @return P2pAccountChargeRecord
     */
    public function setTId($tId)
    {
        $this->tId = $tId;

        return $this;
    }

    /**
     * Get tId
     *
     * @return integer
     */
    public function getTId()
    {
        return $this->tId;
    }

    /**
     * Set ideId
     *
     * @param integer $ideId
     *
     * @return P2pAccountChargeRecord
     */
    public function setIdeId($ideId)
    {
        $this->ideId = $ideId;

        return $this;
    }

    /**
     * Get ideId
     *
     * @return integer
     */
    public function getIdeId()
    {
        return $this->ideId;
    }

    /**
     * Set ideType
     *
     * @param boolean $ideType
     *
     * @return P2pAccountChargeRecord
     */
    public function setIdeType($ideType)
    {
        $this->ideType = $ideType;

        return $this;
    }

    /**
     * Get ideType
     *
     * @return boolean
     */
    public function getIdeType()
    {
        return $this->ideType;
    }

    /**
     * Set recId
     *
     * @param integer $recId
     *
     * @return P2pAccountChargeRecord
     */
    public function setRecId($recId)
    {
        $this->recId = $recId;

        return $this;
    }

    /**
     * Get recId
     *
     * @return integer
     */
    public function getRecId()
    {
        return $this->recId;
    }

    /**
     * Set orid
     *
     * @param integer $orid
     *
     * @return P2pAccountChargeRecord
     */
    public function setOrid($orid)
    {
        $this->orid = $orid;

        return $this;
    }

    /**
     * Get orid
     *
     * @return integer
     */
    public function getOrid()
    {
        return $this->orid;
    }

    /**
     * Set wId
     *
     * @param integer $wId
     *
     * @return P2pAccountChargeRecord
     */
    public function setWId($wId)
    {
        $this->wId = $wId;

        return $this;
    }

    /**
     * Get wId
     *
     * @return integer
     */
    public function getWId()
    {
        return $this->wId;
    }

    /**
     * Set urId
     *
     * @param integer $urId
     *
     * @return P2pAccountChargeRecord
     */
    public function setUrId($urId)
    {
        $this->urId = $urId;

        return $this;
    }

    /**
     * Get urId
     *
     * @return integer
     */
    public function getUrId()
    {
        return $this->urId;
    }

    /**
     * Set ftid
     *
     * @param integer $ftid
     *
     * @return P2pAccountChargeRecord
     */
    public function setFtid($ftid)
    {
        $this->ftid = $ftid;

        return $this;
    }

    /**
     * Get ftid
     *
     * @return integer
     */
    public function getFtid()
    {
        return $this->ftid;
    }

    /**
     * Set swId
     *
     * @param integer $swId
     *
     * @return P2pAccountChargeRecord
     */
    public function setSwId($swId)
    {
        $this->swId = $swId;

        return $this;
    }

    /**
     * Get swId
     *
     * @return integer
     */
    public function getSwId()
    {
        return $this->swId;
    }

    /**
     * Get acId
     *
     * @return integer
     */
    public function getAcId()
    {
        return $this->acId;
    }
}
